<?php
 
namespace D3hdv\Diablo3Bundle\Entity;
 
use Doctrine\ORM\Mapping as ORM;
 
  /**
   * @ORM\Entity
   */
class D3CoffreD3Objet
{
  /**
   * @ORM\Id
   * @ORM\ManyToOne(targetEntity="D3hdv\Diablo3Bundle\Entity\D3Coffre")
   */
  private $D3Coffre;
 
  /**
   * @ORM\Id
   * @ORM\ManyToOne(targetEntity="D3hdv\Diablo3Bundle\Entity\D3Objet")
   */
  private $D3Objet;
 
  /**
     * @ORM\Column(name="enVente",type="boolean", nullable=true, options={"default" = 0})
     */
    protected $enVente;
 

 public function __construct()
    {
	$this->enVente = false;
    }
    /**
     * Set enVente
     *
     * @param string $enVente
     * @return D3CoffreD3Objet
     */
    public function setEnVente($enVente)
    {
        $this->enVente = $enVente;
    
        return $this;
    }

    /**
     * Get enVente
     *
     * @return string 
     */
    public function getEnVente()
    {
        return $this->enVente;
    }

    /**
     * Set D3Coffre
     *
     * @param \D3hdv\Diablo3Bundle\Entity\D3Coffre $d3Coffre
     * @return D3CoffreD3Objet
     */
    public function setD3Coffre(\D3hdv\Diablo3Bundle\Entity\D3Coffre $d3Coffre)
    {
        $this->D3Coffre = $d3Coffre;
    
        return $this;
    }

    /**
     * Get D3Coffre
     *
     * @return \D3hdv\Diablo3Bundle\Entity\D3Coffre 
     */
    public function getD3Coffre()
    {
        return $this->D3Coffre;
    }

    /**
     * Set D3Objet
     *
     * @param \D3hdv\Diablo3Bundle\Entity\D3Objet $d3Objet
     * @return D3CoffreD3Objet
     */
    public function setD3Objet(\D3hdv\Diablo3Bundle\Entity\D3Objet $d3Objet)
    {
        $this->D3Objet = $d3Objet;
    
        return $this;
    }

    /**
     * Get D3Objet
     *
     * @return \D3hdv\Diablo3Bundle\Entity\D3Objet 
     */
    public function getD3Objet()
    {
        return $this->D3Objet;
    }
}
